package sjtu.ist.warehouse4ws.model;

public class PrivilegePojo implements java.io.Serializable {
	private int userId;

	private String username;
	private String role;
	private String modelEdit;        //model:edit
	private String modelDelete;    //model:delete
	private String modelCheckIn;    //数据库对应设计为 model:checkin
	private String modelCheckOut;	//model: checkout
	private String modelToWsdl;     // model:towsdl
	private String modelToWadl;     //model: towadl
	
	public PrivilegePojo(int userId,String username,String role,String modelEdit,String modelDelete,String modelCheckIn
			,String modelCheckOut,String modelToWsdl,String modelToWadl){
		this.userId=userId;
		this.username=username;
		this.role=role;
		this.modelEdit=modelEdit;
		this.modelDelete=modelDelete;
		this.modelCheckIn=modelCheckIn;
		this.modelCheckOut=modelCheckOut;
		this.modelToWsdl=modelToWsdl;
		this.modelToWadl=modelToWadl;
	}
	public PrivilegePojo(){};
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getModelEdit() {
		return modelEdit;
	}
	public void setModelEdit(String modelEdit) {
		this.modelEdit = modelEdit;
	}
	public String getModelDelete() {
		return modelDelete;
	}
	public void setModelDelete(String modelDelete) {
		this.modelDelete = modelDelete;
	}
	public String getModelCheckIn() {
		return modelCheckIn;
	}
	public void setModelCheckIn(String modelCheckIn) {
		this.modelCheckIn = modelCheckIn;
	}
	public String getModelCheckOut() {
		return modelCheckOut;
	}
	public void setModelCheckOut(String modelCheckOut) {
		this.modelCheckOut = modelCheckOut;
	}
	public String getModelToWsdl() {
		return modelToWsdl;
	}
	public void setModelToWsdl(String modelToWsdl) {
		this.modelToWsdl = modelToWsdl;
	}
	public String getModelToWadl() {
		return modelToWadl;
	}
	public void setModelToWadl(String modelToWadl) {
		this.modelToWadl = modelToWadl;
	}

	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	
}
